package cn.aopmin.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;

import java.time.LocalDateTime;

@Builder
@Data
@TableName("logrecord")
public class LogRecord {
    private Long id;

    @TableField("method_name")
    private String methodName;

    @TableField("request_params")
    private String requestParams;

    @TableField("response_params")
    private String responseParams;

    @TableField("exception")
    private String exception;

    @TableField("request_time")
    private LocalDateTime requestTime;

    @TableField("response_time")
    private LocalDateTime responseTime;

    @TableField("create_time")
    private LocalDateTime createTime;
}